package com.linc.concurrency;

public class ThreadLocalDemo {
  private static ThreadLocal<Integer> localSet =
      new ThreadLocal<>() {
        @Override
        protected Integer initialValue() {
          return 0;
        }
      };

  public void add() {
    localSet.set(100);
  }
}
